package com.bw.merchant.adapter

import com.bw.merchant.R
import com.bw.merchant.entity.MerchantListEntityItem
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder

class MerchantAdapter:BaseQuickAdapter<MerchantListEntityItem,BaseViewHolder>(R.layout.item_merchant) {
    override fun convert(holder: BaseViewHolder, item: MerchantListEntityItem) {
        holder.setText(R.id.name,item.name)
        holder.setText(R.id.type,item.industryType)
        holder.setText(R.id.address,item.address)
        holder.setText(R.id.msg,item.status)
    }


}